/*
 * Copyright (c) 2019. ascend 版权所有禁止转载。
 */

package cn.edu.zua.demo18.entity;

import cn.edu.zua.demo18.base.BaseObject;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.Max;

/**
 * 说明：
 *
 * @author ascend
 * 2019/1/30 14:57
 */
@Data
@Accessors(chain = true)
@Entity
@Table(name = "sys_role")
public class SysRole implements BaseObject {
    @Id
    @Column(name = "role_name")
    @Max(50)
    private String roleName;
}
